]> dgit.raspbian.org Git - gnome-shell.git/commit
search: Do not check for class cancellable state after awaiting
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Mon, 16 Feb 2026 21:11:28 +0000 (22:11 +0100)
committerMarge Bot <marge-bot@gnome.org>
Tue, 17 Feb 2026 14:00:14 +0000 (14:00 +0000)
commitc55a07df6b498adb3c570d22f0024d16fc052b41
treecf165c775c0acfded3d7c1516efd6951dc78dfad
parentcead829503083658e736af5964d1d8eb3c92a6bb
search: Do not check for class cancellable state after awaiting

In an async function, after awaiting, the cancelled state for the
class-tracked cancellable may not respect the actual state of the
cancellable that has been used to perform the call.

Thus, let's use a local variable instead

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4080>
js/ui/search.js